package com.rmt.www.action;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.rmt.www.dao.UserDao;
import com.rmt.www.service.AdminManageUserService;
import com.rmt.www.vo.User;



public class AccountManageAction extends ActionSupport{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5951367769681988291L;
	private List<User> userList;
	private AdminManageUserService adminManageUserService;
	
	public List<User> getUserList() {
		return userList;
	}

	public void setUserList(List<User> userList) {
		this.userList = userList;
	}

	

	public String execute() {
		userList = adminManageUserService.getUserList();
		return "success";
	}

	public AdminManageUserService getAdminManageUserService() {
		return adminManageUserService;
	}

	public void setAdminManageUserService(
			AdminManageUserService adminManageUserService) {
		this.adminManageUserService = adminManageUserService;
	}
}
